package com.carkeeper.order.service;

import com.carkeeper.entity.Result;
import com.carkeeper.order.pojo.Order;
import com.carkeeper.order.pojo.OrderGroup;
import com.github.pagehelper.Page;

import java.util.Map;

public interface OrderService {
    //分页
    Page<Order>findPage(int page,int size);

    //按照id查询
    OrderGroup findByid(String id);

    //分页+条件查询
    Page<Order> findPage(Map<String, Object> searchMap, int page, int size);

/*    //根据id查询 store
    Result findStoreById(String orderId);*/


}
